// 引入mock
import Mock from 'mockjs'
// 引入json数据
import banners from "./banners.json";
import floors from './floors.json'

// moke数据 第一个参数请求地址，第二个参数：请求数据
Mock.mock("/mock/banners", {code: 200, data: banners})
Mock.mock("/mock/floors", {code: 200, data: floors})